package com.project.easy.common.framework.auth.core;

import com.project.easy.common.framework.auth.dto.TokenContext;
import org.springframework.core.Ordered;

/**
 * @author GreatorMan.cool
 * @copyright: Copyright (c) 2020
 * @company: 扬起科技有限公司
 * @date 2021/11/1 21:05
 * @description: TOKEN生成
 */
public interface IToken extends Ordered {
    /**
     * @param tokenContext Token上下文
     * TOKEN  获取TOKEN
     * @return TOKEN生成
     */
    public Boolean createToken(TokenContext tokenContext);
}
